package com.wisdom.model.dao;

import java.util.List;

import com.wisdom.exceptions.RoleNotFoundException;
import com.wisdom.model.entities.Role;

public interface RoleDao {
	public void add(Role r);
	public void update(Role r);
	public void remove(Role r);
	
	public Role remove(String roleName) throws RoleNotFoundException;
	
	public List<Role> getRoles();
	
	public Role getRole(String roleName) throws RoleNotFoundException;
}
